package com.lxw.manage_cms.dao;

import com.lxw.framework.domain.cms.CmsPage;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface CmsPageDao extends MongoRepository<CmsPage,String> {

    /**
     * 根据页面名称和模板ID查询
     * @return
     */
    CmsPage findByPageNameAndTemplateId(String pageName,String templateId);
}
